package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.Message;

import java.util.List;

/**
 * @author mi
 * @create 2023/3/15 16:30
 */
public interface MessageService extends IService<Message> {

    ResponseResult listMessage(String name);

    ResponseResult deleteMessageById(int id);

    ResponseResult passBatch(List<Integer> ids);

    ResponseResult deleteBatch(List<Integer> ids);


    // -----------web端方法开始------------

    ResponseResult webAddMessage(Message message);

    ResponseResult webMessage();
}
